FROM golang:latest
WORKDIR $GOPATH/src/github.com/EDDYCJY/go_api
COPY . $GOPATH/src/github.com/EDDYCJY/go_api
RUN go build .
EXPOSE 8000
ENTRYPOINT ["./go_api"]